package com.windoent.yugioh.bean;

import java.util.List;

/**
 * author : robert
 * date   : 2021/6/25 14:36
 * desc   :
 */
public class PanFaStyleBean {

    /**
     * code : 200
     * data : {"data":[{"id":1,"name":"警戒"},{"id":2,"name":"警告"},{"id":3,"name":"游戏落败"},{"id":4,"name":"比赛落败"},{"id":5,"name":"取消获奖资格"},{"id":6,"name":"取消比赛资格"}]}
     * msg : 查询成功！
     */

    private int code;
    private DataBeanX data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBeanX {
        private List<DataBean> data;

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * id : 1
             * name : 警戒
             */

            private int id;
            private String name;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
